//
//  XMNoticeListTableViewCell.m
//  XunMi
//
//  Created by MacBook on 2024/3/26.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import "XMNoticeListTableViewCell.h"
#import "XMNoticeModel.h"

@interface XMNoticeListTableViewCell ()
@property (weak, nonatomic) IBOutlet UIView *stateView;
@property (weak, nonatomic) IBOutlet UILabel *titleLa;
@property (weak, nonatomic) IBOutlet UILabel *timeLa;
@property (weak, nonatomic) IBOutlet UILabel *contentLa;
@property (weak, nonatomic) IBOutlet UIButton *allButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *contentH;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *allBtnH;

@end

@implementation XMNoticeListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setModel:(XMNoticeModel *)model {
    _model = model;
    self.stateView.hidden = model.is_see;
    self.titleLa.text = model.title;
    self.timeLa.text = model.handle_time;
}


@end
